package com.xc.smart.service;

import com.xc.smart.entity.Blog;
import com.xc.smart.entity.User;
import com.xc.smart.entity.dto.BlogDto;
import com.xc.smart.utlis.R;

import java.util.List;

/**
 * @author mtl
 * 2021/6/9
 */
public interface BlogService {

    List<Blog> selectBlogList(Integer page,Integer sort);

    R InsertBolg(User user, BlogDto dto);

}
